package tester;

/**
 * Created by IntelliJ IDEA.
 * User: aleck
 * Date: 2007-10-23
 * Time: 0:22:48
 * To change this template use File | Settings | File Templates.
 */
public class PersonProblemTesterThread extends BaseTesterThread {
  private final Person person;
  private final Problem problem;

  public PersonProblemTesterThread(Person person, Problem problem) {
    this.person = person;
    this.problem = problem;
  }

  public void run() {
    PersonProblemTester spt = new PersonProblemTester(
        person, problem, Config.getWorkDir());
    spt.runTest();
    MessageOutput.println(finishedMessage);
  }

}
